Goto

Collaborating Authors

 cross-language data exchange


nanonext for Cross-language Data Exchange

#artificialintelligence

Designed for performance and reliability, the NNG library is written in C and {nanonext} is a lightweight wrapper depending on no other packages. It provides a fast and reliable data interface between different programming languages where NNG has a binding, including C, C, Java, Python, Go, Rust etc. The following example demonstrates the exchange of numerical data between R and Python (NumPy), two of the most commonly-used languages for data science and machine learning. Using a messaging interface provides a clean and robust approach that is light on resources and offers limited and identifiable points of failure. This is especially relevant when processing real-time data, as an example.